/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2025-06-08     Administrator       the first version
 */
#ifndef APPLICATIONS_BSP_RGB_LED_H_
#define APPLICATIONS_BSP_RGB_LED_H_


/* 定义LED引脚 */
#define LED_R_PIN    GET_PIN(B, 12)
#define LED_G_PIN    GET_PIN(B, 13)
#define LED_B_PIN    GET_PIN(B, 14)




/* LED初始化函数 */
void led_init(void);
/* 控制单个LED */
void led_control(rt_base_t pin, rt_base_t state);
/* 控制RGB三色灯 */
void rgb_led_control(int r, int g, int b);

#endif /* APPLICATIONS_BSP_RGB_LED_H_ */
